package com.bw.house.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bw.house.common.ResponseResult;
import com.bw.house.entity.TbHouse;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 邢晋宁
 * @since 2020-09-04
 */
public interface ITbHouseService extends IService<TbHouse> {

    ResponseResult listAll(int currentPage, int pageSize, TbHouse house);

    ResponseResult addHouse(TbHouse house);

    ResponseResult updateHouse(TbHouse house);

    ResponseResult deleteHouse(long id);

    ResponseResult getByHoueseId(long id);

    ResponseResult updateStatus(long id, TbHouse house);

    ResponseResult saveHouse(TbHouse house);
}
